import { GETA, POSTA, PUTA } from "@/api"
import { AxiosResponse } from "axios"

export const getTags = ():Promise<AxiosResponse<any, any>> => {
    return GETA("Tag/GetTags")
}
export const addTag = ():Promise<AxiosResponse<any, any>> => {
    return POSTA("Tag/AddTag")
}
export const deleteTag = ():Promise<AxiosResponse<any, any>> => {
    return PUTA("Tag/DeleteTags")
}
export const updateTag = ():Promise<AxiosResponse<any, any>> => {
    return PUTA("Tag/UpdateTag")
}
